# $Id: PKGBUILD 168396 2012-10-10 16:39:45Z pierre $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>

pkgname=psi-i18n
pkgver=0.15
pkgrel=1
arch=('any')
pkgdesc='Language packs for Psi'
depends=('psi')
license=('GPL')
url='http://www.psi-im.org'
source=('http://psi-im.org/download/lang/psi_be.qm'
	'http://psi-im.org/download/lang/psi_cs.qm'
	'http://psi-im.org/download/lang/psi_de.qm'
	'http://psi-im.org/download/lang/psi_eo.qm'
	'http://psi-im.org/download/lang/psi_es.qm'
	'http://psi-im.org/download/lang/psi_es_ES.qm'
	'http://psi-im.org/download/lang/psi_fr.qm'
	'http://psi-im.org/download/lang/psi_it.qm'
	'http://psi-im.org/download/lang/psi_ja.qm'
	'http://psi-im.org/download/lang/psi_mk.qm'
	'http://psi-im.org/download/lang/psi_pl.qm'
	'http://psi-im.org/download/lang/psi_pt_BR.qm'
	'http://psi-im.org/download/lang/psi_ru.qm'
	'http://psi-im.org/download/lang/psi_sl.qm'
	'http://psi-im.org/download/lang/psi_sv.qm'
	'http://psi-im.org/download/lang/psi_uk.qm'
        'http://psi-im.org/download/lang/psi_ur_PK.qm'
	'http://psi-im.org/download/lang/psi_vi.qm'
	'http://psi-im.org/download/lang/psi_zh_CN.qm'
        'http://psi-im.org/download/lang/psi_zh_TW.qm')
md5sums=('47d59547b763cc5faf239f88e33013f3'
         '2800b4c549553b3ffc9962a11421e216'
         '6a10c7ee8f1bbbdeb312c2307ff69745'
         '95ffaa69e5faf0e80f8888e61269eac4'
         'e98895000e5e8a2b4e60ff6e0422a9e7'
         '4201fb6718e11f09c64f636294ae4f9d'
         'b9fdc4a0743665994de37bfd0904d891'
         'b19c3c63817a4aa9a158be3be7de2538'
         '930572adf773b1a7dfcfd6838e5ed438'
         '0f1641a990f07619f9d48892a7992223'
         '2ed61225f1f3e39384c9d21c1ad570fc'
         '4555e2e489ad1fbe1887d1a3efbff03a'
         '89d8b66aac37d83ecd4c2eb69950a4f0'
         '701a2233dfad17e9e716a2bb6433cf79'
         'dc40389d3ef8b09e1cdd1d026e3e5519'
         '7471c4f6ede205a85af27a735f4247e1'
         'b8deead1c303c38e64f7db72493a3be6'
         'acbb012cb0d1366378553938545e7191'
         'cfe0ca65a4441056b8c7284d9d015167'
         'df75abcd3d8bf30cd14af6d5a7f217cb')

package() {
	for i in $srcdir/*.qm; do
		install -D -m644 $i $pkgdir/usr/share/psi/$(basename $i)
	done
}
